package com.sanyang.lawyer.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ToString
@TableName(value = "hr_degree")
public class HrDegree {

    //emp主建
    @TableId(value = "degree_id")
    private  int degreeId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    //开始日期
    private Date degreeStartdate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    //结束日期
    private  Date degreeEnddate;

    //毕业学校
    private  String degreeSchool;

    //主修专业
    private  String degreeMajor;

    //获得学历
    private  String degreeEducation;

    //获得学位
    private  String degreeDegrees;

    //证书编号
    private  String degreeCrednum;

    //全日制
    private  String degreeFulltime;

    //所在地
    private  String degreeSite;

    //emp主键
    private  int empId;



}